package com.example.lenovo.tianqi.util;

import android.content.Context;
import android.content.SharedPreferences;

/**
 * Created by lenovo on 2018/1/16.
 */

public class MySharedpreference {
    public static SharedPreferences preferences;
    public static  SharedPreferences.Editor getInstance(Context context)
    {
        preferences=context.getSharedPreferences("Info",Context.MODE_PRIVATE);
        SharedPreferences.Editor editor=preferences.edit();
        return editor;
    }
}
